<!-- detail.html - The product details view template. It has 3 divs (images, purchasing, details) contained within 1 div (productdetail)  -->

[<tag id="includeinheader" type="meta" value="detailpageheader.html" />]<!-- Injects a template with dynamic data into page head section -->

<!-- Alert messages -->
<div id="notification" class="notification black">
	<div class="dark-back"> </div>
	<div class="win8-notif-body">
		<div class="mid">
			<h3>[<tag type="valueof" resourcekey="General.ExtraCost" />]</h3>
			<p class="alertmessage">Please choose from the available product models.</p><!-- Messages defined in frontofficepageheader.html -->
			<a href="#" class="win8-notif-button">[<tag type="valueof" resourcekey="General.cmdOk" />]</a>
			<a style="display:none" href="#" class="win8-notif-button">[<tag type="valueof" resourcekey="General.cmdCancel" />]</a><!-- Cancel not used -->
		</div>
	</div>
</div>



[<tag type='if' function='isclientordermode' display='{ON}' displayelse='{OFF}' />]
<div class="debug">Order being edited for client</div>
[<tag type="endtestof"  />]

<div class="productdetail" itemscope itemtype="http://schema.org/Product">

	[<tag type="if" function="settings" key="placeholderimage" testvalue="True" display="{ON}" displayelse="{OFF}" />]
	[<tag type="if" function="imgexists" testvalue="1" display="{OFF}" displayelse="{ON}" />]
	<div class="images" style="width:[Settings:imagewidth]px">
	<div class="noimage">[Settings:noimageicon]</div>
	</div>
	[<tag type="endif" />]
	[<tag type="endif" />]
	
	[<tag type="if" function="imgexists" testvalue="1" display="{ON}" displayelse="{OFF}" />]
	<div class="images" style="width:[Settings:imagewidth]px">
		<div class="image"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[1]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:imagewidth}' h='{Settings:imageheight}' image='1' />]" alt="[<tag type='productimgdesc' index='1'  />]" title="[<tag type='productimgdesc' index='1'  />]" /></a></div>	
	[<tag type="if" function="imgexists" testvalue="2" display="{ON}" displayelse="{OFF}" />]
	<ul class="gallery">
		[<tag type="if" function="imgexists" testvalue="2" display="{ON}" displayelse="{OFF}" />]
		<li class="image2"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[2]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='2' />]" alt="[<tag type='productimgdesc' index='2'  />]" title="[<tag type='productimgdesc' index='2'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="3" display="{ON}" displayelse="{OFF}" />]
		<li class="image3"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[3]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='3' />]" alt="[<tag type='productimgdesc' index='3'  />]" title="[<tag type='productimgdesc' index='3'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="4" display="{ON}" displayelse="{OFF}" />]
		<li class="image4"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[4]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='4' />]" alt="[<tag type='productimgdesc' index='4'  />]" title="[<tag type='productimgdesc' index='4'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="5" display="{ON}" displayelse="{OFF}" />]
		<li class="image5"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[5]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='5' />]" alt="[<tag type='productimgdesc' index='5'  />]" title="[<tag type='productimgdesc' index='5'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="6" display="{ON}" displayelse="{OFF}" />]
		<li class="image6"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[6]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='6' />]" alt="[<tag type='productimgdesc' index='6'  />]" title="[<tag type='productimgdesc' index='6'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="7" display="{ON}" displayelse="{OFF}" />]
		<li class="image7"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[7]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='7' />]" alt="[<tag type='productimgdesc' index='7'  />]" title="[<tag type='productimgdesc' index='7'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="8" display="{ON}" displayelse="{OFF}" />]
		<li class="image8"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[8]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='8' />]" alt="[<tag type='productimgdesc' index='8'  />]" title="[<tag type='productimgdesc' index='8'  />]" /></a></li>
		[<tag type="endif" />]
		[<tag type="if" function="imgexists" testvalue="9" display="{ON}" displayelse="{OFF}" />]
		<li class="image9"><a href="[<tag type='valueof' xpath='genxml/imgs/genxml[[9]]/hidden/imageurl' />]" data-imagelightbox="nbb"><img src="[<tag type='thumbnail' w='{Settings:gallerywidth}' h='{Settings:galleryheight}' image='9' />]" alt="[<tag type='productimgdesc' index='9'  />]" title="[<tag type='productimgdesc' index='9'  />]" /></a></li>
		[<tag type="endif" />]
	</ul>
	[<tag type="endif" />]
</div>
	[<tag type="endif" />]

<div class="purchasing">
	<ul>
		<li class="title"><h1>
		[<tag type="if" xpath="genxml/lang/genxml/textbox/txtmanufacturer" testvalue="" display="{OFF}" displayelse="{ON}" />]
		<span itemprop="manufacturer" class="manufacturer">
			[<tag type="manufacturer" />]</span>
		[<tag type="endtestof"  />]
		
		[<tag type="if" xpath="genxml/lang/genxml/textbox/txtproductname" testvalue="" display="{OFF}" displayelse="{ON}" />]
		<span itemprop="name" class="name">
			[<tag type="productname" />]</span>
		[<tag type="endtestof"  />]
		</h1></li>

		[<tag type="if" xpath="genxml/lang/genxml/textbox/txtsummary" testvalue="" display="{OFF}" displayelse="{ON}" />]
		<li itemprop="description" class="summary"><p>[<tag type="breakof" xpath="genxml/lang/genxml/textbox/txtsummary" />]</p></li>
		[<tag type="endif"  />]
		
		
<!-- Begin Pricing for Retail, Sale and Dealer -->
	[<tag type="if" function="settings" key="cataloguemode" testvalue="True" display="{OFF}" />]<!-- Hide all prices, models and options in catalogue mode -->
		
		[<tag type="if" function="price" testvalue="0.00" display="{OFF}" />]<!-- If price is zero then hide all prices -->
		
		<li class="price">
		[<tag type="if" function="isinrole" role="Dealer" display="{ON}" displayelse="{OFF}" />][<tag type="valueof" resourcekey="ProductView.dealer" />] [<tag type="endif"  />]<!-- Dealer Label -->
		[<tag type="if" function="isonsale" display="{ON}" />][<tag type="valueof" resourcekey="ProductView.onsale" />] [<tag type="endif"  />]<!-- Sale Label -->
		[<tag type="if" function="hasmodelsoroptions" display="{ON}" />][<tag type="valueof" resourcekey="ProductView.from" />] [<tag type="endif" />]<!-- From Label -->
		<span class="bestprice">[<tag type="bestprice" />]</span><!-- Always show best price -->
		</li>
		
		[<tag type="if" function="isonsale" display="{ON}" />]<!-- If on sale, also show normal retail price -->
		<li class="retailprice">[<tag type="valueof" resourcekey="ProductView.normally" />] <span class="strikethrough">[<tag type="price" />]</span></li>
		[<tag type="endif"  />]
		
		[<tag type="endif"  />]<!-- End if price is zero then hide all prices -->

		[<tag type="if" function="price" testvalue="0.00" display="{ON}" />]<!-- If price is zero then display contact message -->
		<li class="zeroprice">
		<a href="mailto:[Settings:merchant.email]?subject=[<tag type='label' resourcekey='ProductView.pricerequest' />] - [<tag type='productname' />]&amp;body=[<tag type='label' resourcekey='ProductView.emailmsg' />] [<tag type='websiteurl' />][<tag type='entryurl' />]: [<tag type='productname' />]">[<tag type="label" resourcekey="ProductView.emailprice" />]</a>
		</li>
		[<tag type="endif"  />]
		
	[<tag type="endif"  />]
<!-- End Pricing for Retail, Sale and Dealer -->

		[<tag type="if" function="settings" key="cataloguemode" testvalue="True" display="{OFF}" />]<!-- Hide all prices, models and options in catalogue mode -->

		[<tag type="if" function="modelexists" testvalue="2" display="{ON}" displayelse="{OFF}" />]
		<li class="models"><h5>[<tag type="valueof" resourcekey="ProductView.choosemodel" />]</h5>[<tag type="modelsradio" template="{name} {bestprice}" RepeatDirection="Vertical" RepeatColumns="1" SelectedIndex="" cssclass="modelsradio" />]</li>
		[<tag type="endif"  />]
		
		[<tag type="if" function="optionexists" testvalue="1" display="{ON}" displayelse="{OFF}" />]
		<li class="options option1"><span class="optionvalue optionvalue1">[<tag type="productoption" index="1" />]</span><span class="optionname optionname1">[<tag type="productoptionname" index="1" />]</span></li>
		[<tag type="endif"  />]
		[<tag type="if" function="optionexists" testvalue="2" display="{ON}" displayelse="{OFF}" />]
		<li class="options option2"><span class="optionvalue optionvalue2">[<tag type="productoption" index="2" />]</span><span class="optionname optionname2">[<tag type="productoptionname" index="2" />]</span></li>
		[<tag type="endif"  />]
		[<tag type="if" function="optionexists" testvalue="3" display="{ON}" displayelse="{OFF}" />]
		<li class="options option3"><span class="optionvalue optionvalue3">[<tag type="productoption" index="3" />]</span><span class="optionname optionname3">[<tag type="productoptionname" index="3" />]</span></li>
		[<tag type="endif"  />]
		[<tag type="if" function="optionexists" testvalue="4" display="{ON}" displayelse="{OFF}" />]
		<li class="options option4"><span class="optionvalue optionvalue4">[<tag type="productoption" index="4" />]</span><span class="optionname optionname4">[<tag type="productoptionname" index="4" />]</span></li>
		[<tag type="endif"  />]
		
		[<tag type="endif"  />]
	
		<li class="buy">
		[<tag type="if" function="settings" key="holidaymode" testvalue="True" display="{ON}" />]<!-- Show holiday message in Holiday Mode -->
		<span class="holiday">[<tag type="label" resourcekey="ProductView.holidaymsg" />]</span>
		[<tag type="endif"  />]
		[<tag type="if" function="settings" key="cataloguemode" testvalue="True" display="{OFF}" />]<!-- Hide all prices, models and options in catalogue mode -->
		[<tag type="if" function="settings" key="holidaymode" testvalue="True" display="{OFF}" />]<!-- Hide buy button and quantity in Holiday Mode -->
		[<tag type="if" function="settings" key="allowzeroprice" testvalue="True" display="{ON}" />]<!-- Hide buy button and quantity if zero-price purchasing is not allowed -->		
		<span [<tag type="if" function="isinstock" testvalue="0" display="" displayelse="style='display:none;'" />]>
		[<tag type="addqty" text="1" width="21" />][<tag type="linkbutton" resourcekey="ProductView.addtobasketicon" cssclass="addtobasket" commandname="addtobasket" commandargument="ItemID" />][<tag type="label" resourcekey="ProductView.addtobasket" />] 
		</span>
		[<tag type="if" function="isinstock" testvalue="0" display="{OFF}"/>]
		<span class="outofstock">[<tag type="label" resourcekey="ProductView.outofstock" />]</span>
		[<tag type="endif"  />]
		[<tag type="endif"  />]
		[<tag type="endif"  />]
		[<tag type="endif"  />]
		<span class="return">[<tag type="returnlink" resourcekey="ProductView.returnicon" />]</span>
		[<tag type="if" function="settings" key="wishlist" testvalue="True" display="{ON}" />]<!-- Hide all prices, models and options in catalogue mode -->
		<span class="wishlist">[<tag type="itemlistadd" cssclass="wishlistadd" resourcekey="ProductView.wishlistaddicon" listname="wishlist" />][<tag type="itemlistremove" CssClass="wishlistremove" resourcekey="ProductView.wishlistremoveicon" listname="wishlist" />]</span>
		[<tag type="endif"  />]
		</li>
		
		[<tag type="if" function="haspurchasedocuments" display="{ON}" />]<!-- Downloadable product message -->	
		<ul class="fa-ul downloadableproduct"><li><i class='fa-li fa fa-exclamation-circle'></i>[<tag type="valueof" resourcekey="ProductView.downloadableproduct" />]</li></ul>
		[<tag type="endif"  />]

		[<tag type="if" function="settings" key="sharingwidget" testvalue="" display="{OFF}" />]<!-- Sharing widget -->
		<li class="sharingwidget">[Settings:sharingwidget]</li>
		[<tag type="endif"  />]

	</ul>
</div>

<!-- Details -->
<div class="details">

	<div id="[<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='DetailTabs' displayelse='tabsoff' />]">
 	[<tag type="if" function="settings" key="tabbedcontent" testvalue="True" display="{ON}" displayelse="{OFF}" />]
       <ul>
            [<tag type="if" xpath="genxml/lang/genxml/edt/description" testvalue="" display="{OFF}" displayelse="{ON}" />]<!-- Product description -->
            <li><a href="#tab-1">[<tag type="valueof" resourcekey="ProductView.description" />]</a></li>
            [<tag type="endif" />]
            
            [<tag type="if" function="settings" key="modelstable" testvalue="True" display="{ON}" />]<!-- Show Models table -->
            <li><a href="#tab-2">[<tag type="valueof" resourcekey="ProductView.models" />]</a></li>
            [<tag type="endif" />]
            
            [<tag type="if" function="hasdocuments" display="{ON}" />]<!-- Document downloads -->
            <li><a href="#tab-3">[<tag type="valueof" resourcekey="ProductView.documentation" />]</a></li>
            [<tag type="endif" />]
            
            [<tag type="if" function="settings" key="currencyconverter" testvalue="True" display="{ON}" />]<!-- Currency Convertor -->
            <li><a href="#tab-4">[<tag type="valueof" resourcekey="ProductView.convertor" />]</a></li>
            [<tag type="endif" />]
            
            [<tag type="if" function="hasrelateditems" display="{ON}" />]<!-- Related items -->
            <li><a href="#tab-5">[<tag type="valueof" resourcekey="ProductView.related" />]</a></li>
            [<tag type="endif" />]
        </ul>
	[<tag type="endif" />]
	
        [<tag type="if" xpath="genxml/lang/genxml/edt/description" testvalue="" display="{OFF}" displayelse="{ON}" />]<!-- Product description -->
        <div id="[<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='tab-1' displayelse='tabsoff' />]">
            <h3 [<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='style="display:none;"' displayelse='' />]>[<tag type="valueof" resourcekey="ProductView.description" />]</h3>
            [<tag type="description" />]
        </div>
        [<tag type="endif" />]

        [<tag type="if" function="settings" key="modelstable" testvalue="True" display="{ON}" />]<!-- Show Models table -->
        <div id="[<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='tab-2' displayelse='tabsoff' />]">
        <h3 [<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='style="display:none;"' displayelse='' />]>[<tag type="valueof" resourcekey="ProductView.models" />]</h3>
        <div class="models" >
		<table class="StackThis large-only">
			    <tbody>
			        <tr>
		            <th style="text-align:left">[<tag type="label" resourcekey="ProductView.model" />]</th><!-- Model -->
		            
		            [<tag type="if" function="settings" key="productcode" testvalue="True" display="{ON}" />]<!-- Product Code/Ref -->
		            <th>[<tag type="label" resourcekey="ProductView.code" />]</th>
		            [<tag type="endif" />]
		            
		            [<tag type="if" function="settings" key="cataloguemode" testvalue="True" display="{OFF}" />]<!-- Hide all prices in catalogue mode -->
		            
		            [<tag type="if" function="price" testvalue="0.00" display="{OFF}" />]<!-- If price is zero then hide all prices -->

		            <th>[<tag type="label" resourcekey="ProductView.price" />]</th><!-- Retail price -->
		            
		            [<tag type="if" function="isonsale" display="{ON}" displayelse="{OFF}" />]<!-- Sale price -->
		            <th>[<tag type="label" resourcekey="ProductView.saleprice" />]</th>
		            [<tag type="endif" />]
		            [<tag type="if" function="isinrole" role="Dealer" display="{ON}" displayelse="{OFF}" />]<!-- Dealer price -->
		            <th>[<tag type="label" resourcekey="ProductView.dealerprice" />]</th>
		            [<tag type="endif" />]
		            
		            [<tag type="endif" />]<!-- End if price is zero then hide all prices -->
		            
		            [<tag type="endif" />]<!-- End hide all prices in catalogue mode -->
		            
		            [<tag type="if" function="settings" key="showstock" testvalue="True" display="{ON}" />]<!-- Stock and availability -->
		            <th>[<tag type="label" resourcekey="ProductView.stock" />]</th>
		            [<tag type='if' xpath='genxml/models/genxml/textbox/txtqtyremaining' testvalue='-1' display='{OFF}' displayelse='{ON}' />]<!-- Infinite stock no -->
		            <th>[<tag type="label" resourcekey="ProductView.reserved" />]</th>
		            <th>[<tag type="label" resourcekey="ProductView.remaining" />]</th>
		            [<tag type="endif" />]
		            [<tag type="endif" />]
			        </tr>
				[<tag type="modelslist" template="modellist.html" />]
			    </tbody>
		</table>
        </div>
        </div>
        [<tag type="endif"  />]
        
        [<tag type="if" function="hasdocuments" display="{ON}" />]
        <div id="[<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='tab-3' displayelse='tabsoff' />]">
        <h3 [<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='style="display:none;"' displayelse='' />]>[<tag type="valueof" resourcekey="ProductView.documentation" />]</h3>
            <ul class="fa-ul documents">
	            [<tag type="if" xpath="genxml/docs/genxml[[1]]/textbox/txtfilename" testvalue="" display="{OFF}"  />]
	            <li>[<tag type="label" resourcekey="ProductView.filebullets" />]<span class="documentname">[<tag type="productdocfilename" index="1" />]</span><span class="documentdescription">[<tag type="productdocdesc" index="1" />]</span>
	            [<tag cssclass="documentlink" resourcekey="ProductView.download" type="productdoclink" index="1" />]
	            [<tag type="if" function="isdocpurchased" index="1" display="{OFF}" />]
	            [<tag type="if" function="isdocpurchasable" index="1" display="{ON}" />][<tag type="label" resourcekey="ProductView.purchasabledocument" />][<tag type="endif" />]
	            [<tag type="endif" />]
	            </li>
	            [<tag type="endif" />]
	            
	            [<tag type="if" xpath="genxml/docs/genxml[[2]]/textbox/txtfilename" testvalue="" display="{OFF}"  />]
	            <li>[<tag type="label" resourcekey="ProductView.filebullets" />]<span class="documentname">[<tag type="productdocfilename" index="2" />]</span><span class="documentdescription">[<tag type="productdocdesc" index="2" />]</span>
	            [<tag cssclass="documentlink" resourcekey="ProductView.download" type="productdoclink" index="2" />]
	            [<tag type="if" function="isdocpurchased" index="2" display="{OFF}" />]
	            [<tag type="if" function="isdocpurchasable" index="2" display="{ON}" />][<tag type="label" resourcekey="ProductView.purchasabledocument" />][<tag type="endif" />]
	            [<tag type="endif" />]
	            </li>
	            [<tag type="endif" />]
	            
	            [<tag type="if" xpath="genxml/docs/genxml[[3]]/textbox/txtfilename" testvalue="" display="{OFF}"  />]
	            <li>[<tag type="label" resourcekey="ProductView.filebullets" />]<span class="documentname">[<tag type="productdocfilename" index="3" />]</span><span class="documentdescription">[<tag type="productdocdesc" index="3" />]</span>
	            [<tag cssclass="documentlink" resourcekey="ProductView.download" type="productdoclink" index="3" />]
	            [<tag type="if" function="isdocpurchased" index="3" display="{OFF}" />]
	            [<tag type="if" function="isdocpurchasable" index="3" display="{ON}" />][<tag type="label" resourcekey="ProductView.purchasabledocument" />][<tag type="endif" />]
	            [<tag type="endif" />]
	            </li>
	            [<tag type="endif" />]
	            
	            [<tag type="if" xpath="genxml/docs/genxml[[4]]/textbox/txtfilename" testvalue="" display="{OFF}"  />]
	            <li>[<tag type="label" resourcekey="ProductView.filebullets" />]<span class="documentname">[<tag type="productdocfilename" index="4" />]</span><span class="documentdescription">[<tag type="productdocdesc" index="4" />]</span>
	            [<tag cssclass="documentlink" resourcekey="ProductView.download" type="productdoclink" index="4" />]
	            [<tag type="if" function="isdocpurchased" index="4" display="{OFF}" />]
	            [<tag type="if" function="isdocpurchasable" index="4" display="{ON}" />][<tag type="label" resourcekey="ProductView.purchasabledocument" />][<tag type="endif" />]
	            [<tag type="endif" />]
	            </li>
	            [<tag type="endif" />]
	            
	            [<tag type="if" xpath="genxml/docs/genxml[[5]]/textbox/txtfilename" testvalue="" display="{OFF}"  />]
	            <li>[<tag type="label" resourcekey="ProductView.filebullets" />]<span class="documentname">[<tag type="productdocfilename" index="5" />]</span><span class="documentdescription">[<tag type="productdocdesc" index="5" />]</span>
	            [<tag cssclass="documentlink" resourcekey="ProductView.download" type="productdoclink" index="5" />]
	            [<tag type="if" function="isdocpurchased" index="5" display="{OFF}" />]
	            [<tag type="if" function="isdocpurchasable" index="5" display="{ON}" />][<tag type="label" resourcekey="ProductView.purchasabledocument" />][<tag type="endif" />]
	            [<tag type="endif" />]
	            </li>
	            [<tag type="endif" />]
	            
	            [<tag type="if" xpath="genxml/docs/genxml[[6]]/textbox/txtfilename" testvalue="" display="{OFF}"  />]
	            <li>[<tag type="label" resourcekey="ProductView.filebullets" />]<span class="documentname">[<tag type="productdocfilename" index="6" />]</span><span class="documentdescription">[<tag type="productdocdesc" index="6" />]</span>
	            [<tag cssclass="documentlink" resourcekey="ProductView.download" type="productdoclink" index="6" />]
	            [<tag type="if" function="isdocpurchased" index="6" display="{OFF}" />]
	            [<tag type="if" function="isdocpurchasable" index="6" display="{ON}" />][<tag type="label" resourcekey="ProductView.purchasabledocument" />][<tag type="endif" />]
	            [<tag type="endif" />]
	            </li>
	            [<tag type="endif" />]
            </ul>
        </div>
        [<tag type="endif" />]
        
        [<tag type="if" function="settings" key="cataloguemode" testvalue="True" display="{OFF}" />]<!-- Hide currency converter in catalogue mode -->
        [<tag type="if" function="settings" key="currencyconverter" testvalue="True" display="{ON}" />]
        <div id="[<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='tab-4' displayelse='tabsoff' />]">
		<div class="ccwrapper">
            <div class="ccinner">
                <div class="ccinfo">
                <h3 [<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='style="display:none;"' displayelse='' />]>[<tag type="valueof" resourcekey="ProductView.convertor" />]</h3>
                [<tag type="label" resourcekey="ProductView.currencyconvertormsg" />]
                </div>
                <div class="currencyconverter">
                <iframe src="http://www.foreignexchangeresource.com/currency-converter.php?c=[<tag type='currencyisocode' />]&amp;amt=[<tag type='bestprice' />]&amp;a=[Settings:currencyisocode.convert]&amp;Go.x=7&amp;Go.y=20&amp;size=200&amp;k=" width="100%" height="200" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
                </div>
            </div>
            </div>
        </div>
        [<tag type="endif"  />]
        [<tag type="endif"  />]
        
        [<tag type="if" function="hasrelateditems" display="{ON}" />]
        <div id="[<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='tab-5' displayelse='tabsoff' />]">
            <h3 [<tag type='if' function='settings' key='tabbedcontent' testvalue='True' display='style="display:none;"' displayelse='' />]>[<tag type="valueof" resourcekey="ProductView.related" />]</h3>
            <div id="relatedwrapper">
            [<tag type="relatedproducts" template="relatedlist.html" />]
            </div>
        </div>
        [<tag type="endif"  />]
        
	</div>

</div>

</div>

[<tag type="if" function="debugmode" display="{ON}" />]
<div class="debug">[<tag type='valueof' resourcekey='General.DebugMessage' />]</div>
[<tag type="endif" />]